body {
  zoom: 110%;
  .eve-header {
    .el-menu-item,
    .eve-scroll__menu .el-submenu__title {
      padding: 0 4px;
    }
  }

  .eve-container__right {
    min-width: auto !important;
  }
}

.el-scrollbar__wrap {
  margin-right: -16px !important;
}

$--zoom-width: calc(100vw - 460px) !important;
$--zoom-height: calc(100vh - 224px) !important;
.eve-main {
  width: $--zoom-width;
  height: $--zoom-height;
}

.eve-breadcrumb {
  width: $--zoom-width;
}

.eve-common-footer-button {
  width: $--zoom-width;
}

//收缩菜单后的表单提交底部按钮
.layout__collapse {
  .eve-common-footer-button {
    width: calc(100vw - 268px) !important;
  }
}

.eve-container {
  height: $--zoom-height;
}

.eve-menu__main {
  height: calc(100vh - 178px) !important;
}

/*---字体缩放后的样式--- */
.font.layout__collapse.eve-breadcrumb {
  width: calc(100vw - 95px - 173px) !important;
}

.font.layout__collapse.eve-main {
  width: calc(100vw - 65px - 30px - 173px) !important;
}

/*火狐*/
@media screen and (min--moz-device-pixel-ratio: 0) {
  body {
    width: 90%;
    height: 100vh; //这是比较特殊的,写100vh,不然高度显示不全
    transform: scale(1.1);
    transform-origin: left top;
  }

  .el-scrollbar__wrap {
    margin-right: -17px !important;
  }

  .eve-common-footer-button {
    bottom: 10vh;
  }
}

/*ie兼容*/
@media screen and(-ms-high-contrast:active), (-ms-high-contrast: none) {
  body {
    height: 100vh;
  }

  .eve-header__right {
    width: 29%;
  }

  .header-tips:first-child {
    margin-right: 166px;
  }

  .eve-header__dialog-section {
    right: 188px;
  }

  .el-scrollbar__wrap {
    margin-right: -17px !important;
  }

  .eve-common-footer-button {
    width: calc(100vw - 315px) !important;
    margin-left: 28px;
  }

  //收缩菜单后的表单提交底部按钮
  .layout__collapse {
    .eve-common-footer-button {
      width: calc(100vw - 102px) !important;
      margin-left: 8px;
    }
  }
}

//系统设置放大了1.25的情况下
@media screen and (-webkit-device-pixel-ratio: 1.25),
  (-moz-device-pixel-ratio: 1.25),
  (-o-device-pixel-ratio: 1.25),
  (resolution: 120dpi) {
  $--zoom-width: calc(100vw - 426px) !important;
  $--zoom-height: calc(100vh - 204px) !important;

  .eve-main {
    width: $--zoom-width;
    height: $--zoom-height;
  }

  .eve-breadcrumb {
    width: $--zoom-width;
  }

  .eve-common-footer-button {
    width: $--zoom-width;
  }

  //收缩菜单后的表单提交底部按钮
  .layout__collapse {
    .eve-common-footer-button {
      width: calc(100vw - 234px) !important;
    }
  }

  .eve-container {
    height: $--zoom-height;
  }

  .eve-menu__main {
    height: calc(100vh - 156px) !important;
  }

  /*ie兼容*/
  @media screen and(-ms-high-contrast:active), (-ms-high-contrast: none) {
    body {
      height: 100vh;
    }

    .eve-header__right {
      width: 31% !important;
    }

    .header-tips {
      margin-right: 126px !important;
    }

    .eve-header__dialog-section {
      right: 150px !important;
    }

    .eve-common-footer-button {
      width: calc(100vw - 315px) !important;
      margin-left: 28px;
    }

    //收缩菜单后的表单提交底部按钮
    .layout__collapse {
      .eve-common-footer-button {
        width: calc(100vw - 104px) !important;
        margin-left: 9px;
      }
    }
  }

  /*---字体缩放后的样式--- */
  .font.layout__collapse.eve-breadcrumb {
    width: calc(100vw - 95px - 139px) !important;
  }

  .font.layout__collapse.eve-main {
    width: calc(100vw - 65px - 30px - 139px) !important;
  }
}

/*1366兼容*/
@media screen and (max-width: 1366px) {
  body {
    /*在开启1366缩放的情况下才开启--查询表单刷新后会有问题*/
    // width: 100%;
    // height: 100%;
    // transform: scale(1);
    // transform-origin: left top;
    zoom: 110%;
    .eve-header {
      .el-menu-item,
      .eve-scroll__menu .el-submenu__title {
        padding: 0 0px;
      }
    }

    .eve-container__right {
      min-width: auto !important;
    }
  }

  $--zoom-width: calc(100vw - 410px) !important;
  $--zoom-height: calc(100vh - 196px) !important;

  .layout__main {
    .eve-main {
      width: $--zoom-width;
      height: $--zoom-height;
    }

    .eve-breadcrumb {
      width: $--zoom-width;
    }

    .eve-container {
      height: $--zoom-height;
    }

    .eve-menu__main {
      height: calc(100vh - 150px) !important;
    }
  }

  .eve-common-footer-button {
    width: $--zoom-width;
  }

  //收缩菜单后的表单提交底部按钮
  .layout__collapse {
    .eve-common-footer-button {
      width: calc(100vw - 218px) !important;
    }
  }

  /*---字体缩放后的样式--- */
  .font.layout__collapse.eve-breadcrumb {
    width: calc(100vw - 218px) !important;
  }

  .font.layout__collapse.eve-main {
    width: calc(100vw - 218px) !important;
  }

  /*ie兼容*/
  @media screen and(-ms-high-contrast:active), (-ms-high-contrast: none) {
    .eve-header__right {
      width: 36%;
    }

    .header-tips:first-child {
      margin-right: 116px;
    }

    .eve-header__dialog-section {
      right: 140px;
    }

    .eve-common-footer-button {
      width: calc(100vw - 315px) !important;
      margin-left: 28px;
    }

    //收缩菜单后的表单提交底部按钮
    .layout__collapse {
      .eve-common-footer-button {
        width: calc(100vw - 103px) !important;
      }
    }
  }
}
